package com.caijg.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 舌诊表
 * </p>
 *
 * @author caijg
 * @since 2024-12-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tongue_diagnosis")
public class TongueDiagnosis implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 舌苔图片
     */
    @TableField("image_url")
    private String imageUrl;

    /**
     * 苔质
     */
    @TableField("coating_quality")
    private String coatingQuality;

    /**
     * 苔色
     */
    @TableField("coating_color")
    private String coatingColor;

    /**
     * 舌神
     */
    @TableField("tongue_vitality")
    private String tongueVitality;

    /**
     * 舌色
     */
    @TableField("tongue_color")
    private String tongueColor;

    /**
     * 舌形
     */
    @TableField("tongue_shape")
    private String tongueShape;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;
}